package com.homedo.odin.solution.model.request.pc.column;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import lombok.Data;

@ApiModel(description = "栏目详情")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class ColumnDetailRequestBean {

    @ApiModelProperty(value = "栏目编号", required = true)
    @NotNull(message = "栏目编号不能为空")
    @Min(message = "栏目编号非法", value = 0)
    private Long columnId;
}
